<div class="WindowList">

    <div class="row">
        <div class="col-md-12">
            <!--modal start-->
            <section class="panel">
                <header class="panel-heading">
                    选择表单
                </header>
                <div class="panel-body">
                    <volist name="tempform" id="myform">
                        <a href="javascript:void(0)" onClick="_openWindow('{:U('Taskform/getform',['id'=>$myform['id'],'temptask'=>'1','pid'=>$pid])}',650, '发布临时任务', '确定',function(){ $('#showme').ajaxlist({success:function(){ $('#showme').css('display','block');}}); },'')" data-toggle="modal" class="btn btn-success" style="margin-bottom:5px">
                            {$myform.name}
                        </a>　　
                    </volist>
                </div>
            </section>
            <!--modal end-->
        </div>
    </div>
    <div class="panel" id="showme" style="display:none"></div>
    <div id="showmepages" style="display:none"></div>
    <!--<div id="showme"></div>-->
    <form action="{:U('Task_daily/tempForm')}" id="showmeform"><input type="hidden" name="pid" value="{$pid}"> </form>
</div>
<script>
    var pid={$pid};
    $.post("{:U('tempadd')}",{pid:pid},function(data){
        $('#showme').html(data.tbody);
    },'json');
</script>